From 4f8c81e479b5e83bc301f04f01a12466f9e1edf2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 21 Jun 2023 23:52:44 +0100 Subject: Support table imports --- ...hedlang.compiler.testing.snapshots.Snapshotter)].expected | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithTableImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithTableImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithTableImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithTableImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..1c7c98a4 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithTableImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,12 @@ + +module.wasm: file format wasm 0x1 + +Section Details: + +Import[2]: + - table[0] type=externref initial=1 <- ModuleName1.EntityName1 + - table[1] type=funcref initial=2 max=5 <- ModuleName2.EntityName2 +Custom: + - name: "name" + +Code Disassembly: -- cgit v1.2.3